<%@ page language="Java" contentType="text/html;charset=UTF-8" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
    <title>用户注册</title>        
  <meta http-equiv="content-Type" content="text/html;charset=utf-8"> 
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="this is a page">
  <script type="text/javascript" src="js/register.js"></script>
 </head>
 <body>
 	<form action="NewsServlet?method=add" method="post" onsubmit="return check()">
 	手机号：<input type="text" id="tx" name="userPhone" maxlength="11" oninput="user()" autofocus="autofocus"><span id="p1"></span><br>
 	密码：<input type="password"  id="pwd" name="userPassword" maxlength="11" oninput="password()"><span id="p2"></span><br>
 	<input type="reset" value="重置">&nbsp;&nbsp;
 	<input type="submit" value="注册">
 	</form>
 </body>
</html>